package com.example.demo.service.impl;

import com.example.demo.mapper.WorkMapper;
import com.example.demo.service.WorkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.LinkedHashMap;
import java.util.List;

@Service
public class WorkServiceImpl implements WorkService {

    @Autowired
    private WorkMapper workMapper;

    @Override
    public List<LinkedHashMap<String, Object>> getProjectWorkHours(String projectId, String startDate, String endDate) {
        return workMapper.getProjectWorkHours(projectId, startDate, endDate);
    }
}
